home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-26 | 1.1 KB | 49 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Network\TCP/IP"
- "NAME"="IP Forwarding"
- "VERSION"="1.07"
- "OSVERSION"="000101"
- "LANGUAGE"="VBScript"
- "WARNING"="1"
- "TEXT 1"="Enable IP Forwarding for this computer"
- "DESCRIPTION 1"="By enabling the first option, Windows will route IP between all available subnets on this computer."
- "DESCRIPTION 2"="Please note that this is only a "quick function", for more features install Windows's Routing and Remote Access Services."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
-
-
-
-
- sP1="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\"
- sV1="IPEnableRouter"
- Sub Plugin_Initialize
- i=RegReadValue(sP1 & sV1)
- if i=1 then SetUiElement 1,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- If GetUIElement(1)=true then
- Call RegWriteValue(sp1 & sv1,"1",2)
- else
- Call RegWriteValue(sp1 & sv1,"0",2)
- end if
-
- Restart
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-